package com.goods.service;

import com.goods.common.model.business.Product;
import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;

import java.util.List;

public interface ProductService {
    List<Product> findProductList(String name, String categoryId, String supplier, Integer status);

    int add(ProductVO productVO);

    Product edit(Long id);

    int update(Long id, ProductVO productVO);

    int remove(Long id);

    int back(Long id);

    int delete(Long id);

    int publish(Long id);

    List<Product> findProducts(Integer status);

    List<ProductStockVO> findProductStocks(String categorys,String name);
}
